import { defineStore } from 'pinia'
import { ref } from 'vue'
export const useChannelStore = defineStore('channel', () => {
  const selected = ref(0)
  const onSelected = (id: number) => {
    selected.value = id
  }
  return { selected, onSelected }
})
